#ifndef _FT_TIMERS_H
#define _FT_TIMERS_H

#include <sys/time.h>

struct ft_timer_t
{
  struct timeval start;
  struct timeval timeout;
  unsigned long sleep_time;
};

void set_ft_timer(struct ft_timer_t*,unsigned long);
void ft_timer_sleep(struct ft_timer_t*);
int check_ft_timer(struct ft_timer_t*);
unsigned long delta_ft_timer(struct ft_timer_t*);

#endif
